/*
 * Copyright (C) 2005-2024 Giorgio Maone <https://maone.net>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

 /* THEMES_START */

/*
  This section gets replaced at runtime with an extract of /themes/themes.css
  stripped of all the references to extension URLs.
*/

 /* THEMES_END */

a.__NoScript_PlaceHolder__ {
  color: var(--text-color) !important;
  text-decoration: none !important;
  text-align: center;
  background: var(--tab-color2) no-repeat center;
  background-size: contain;
  visibility: visible !important;
  cursor: pointer;
  opacity: 0.8;
  z-index: 2147483647 !important;
  background-image: var(--img-logo);
  border-radius: 8px;
}

a.__NoScript_PlaceHolder__.no-theme {
  visibility: hidden !important;
}

a.__NoScript_PlaceHolder__.mozilla {
  background-image: var(--img-logo);
}

.__ns__pop2top {
  z-index: 2147483647 !important;
}

.__ns__pop2top:is(.html5-video-container, #song-video, .ytmusic-player) {
  display: initial !important;
}

a.__NoScript_PlaceHolder__:hover {
  opacity: 1;
  text-decoration: none !important;
}

a.__NoScript_PlaceHolder__.__ns__closing {
  transition: .4s all;
  opacity: 0;
  transform: scale(0, 0);
}

a.__NoScript_PlaceHolder__ > span {
  display: flex !important;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.__NoScript_PlaceHolder__ button {
  appearance: none;
  -moz-appearance: none;
  border: none;
  position: absolute;
  font-size: 32px;
  top: -12px;
  right: -3px;
  display: block;
  color: var(--accent-color);
  text-shadow: 0 0 4px var(--fg-color2);
  font-family: sans-serif;
  font-weight: bold;
  padding: 0 4px;
  margin: 0;
  background: none;
  transition: .2s all;
  z-index: 2147483647 !important;
}

.__NoScript_PlaceHolder__  button:hover {
  color: var(--fg-color2);
  text-shadow: 0 0 4px var(--focus-color);
  cursor: pointer;
}

.__NoScript_PlaceHolder__ > span > span {
  display: block;
  font-size: 18px;
  border-radius: 8px;
  padding: 8px;
  margin: 0;
  font-family: sans-serif;
  overflow-wrap: break-word;
  word-break: break-all;
  background-color: var(--tab-color1);
  background-color: rgba(from var(--tab-color1) r g b / 85%);
}
.__NoScript_PlaceHolder__:hover > span > span {
  background-color: var(--bg-color2);
  color: var(--accent-color);
  box-shadow: 0 0 4px 4px var(--focus-color);
  border: none;
}
a.__NoScript_PlaceHolder__.__ns__document {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}
.__NoScript_Offscreen_PlaceHolders__ {
  display: flex;
  flex-direction: row-reverse;
  position: fixed;
  bottom: 0;
  right: 0;
}
.__NoScript_Offscreen_PlaceHolders__ a.__NoScript_PlaceHolder__ {
  height: 64px !important;
  width: auto !important;
}
.__NoScript_Offscreen_PlaceHolders__ a.__NoScript_PlaceHolder__ > span {
  align-items: end;
}
